<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 19-4-28
 * Time: 下午1:34
 */

namespace common\models;


/**
 * Class EdiviOrderApply
 * @package common\models
 *
 * @property EdiviCreditOrder $ediviOrder
 */
class EdiviOrderApply extends \common\models\base\EdiviOrderApply
{
    /**
     * @return \yii\db\ActiveQuery
     */
    public function getEdiviOrder()
    {
        return $this->hasOne(EdiviCreditOrder::className(), ['id' => 'edivi_order_id']);
    }
}